namespace MultiAgentsClient.Presentation.Component;

public sealed partial class NavigationPanel : UserControl
{
    public event EventHandler NavigationToChatRequested;
    public event EventHandler NavigationToWorkflowRequested;
    public event EventHandler NavigationToAgentManagementRequested;
    public event EventHandler NavigationToUserSettinsRequested;

    public NavigationPanel()
    {
        InitializeComponent();

        DataContext = new BindableNavigationPanelModel();
    }

    private void NavigationToChat(object _, RoutedEventArgs e)
    {
        NavigationToChatRequested?.Invoke(this, EventArgs.Empty);
    }

    private void NavigationToWorkflow(object _, RoutedEventArgs e)
    {
        NavigationToWorkflowRequested?.Invoke(this, EventArgs.Empty);
    }

    private void NavigationToAgentManagement(object _, RoutedEventArgs e)
    {
        NavigationToAgentManagementRequested?.Invoke(this, EventArgs.Empty);
    }

    private void NavigationToUserSettings(object _, RoutedEventArgs e)
    {
        NavigationToUserSettinsRequested?.Invoke(this, EventArgs.Empty);
    }
}
